{% extends "base.html" %}

{% block extrahead %}
<meta name="theme-color" content="#1a7dc9" />
{% endblock %}

{% block announce %}
{% if config.extra.version_warning %}
<div class="versionwarning" style="margin: .6rem auto; padding: 0 .8rem">
  <h1>⚠ You are viewing an archived snapshot of the documentation for Knative version: {{ config.extra.knative_version }}</h1>
  <p>
  Knative {{ config.extra.knative_version }} documentation is no longer actively maintained. The documentation you are currently viewing is a static snapshot. For up-to-date documentation, see <a href="{{ base_url }}/../docs/">the latest version</a>.
  </p>
</div>
{% endif %}
{% endblock %}

{% block scripts %}
  {{ super() }}
  <!-- For now, load Jquery and Bootstrap because the cookie warning (built from the hugo-based website) uses them -->
  <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
  <script src="/js/cookie-consent.js"></script>
{% endblock %}
